package com.test.spring.anno.test.test4Aop.config;

import com.test.spring.anno.domain.Teacher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan(value = "com.test.spring.anno.service")
@ComponentScan(value = "com.test.spring.anno.test.test4Aop.service")
public class Configuration4 {

	@Bean
	public Teacher teacher(){
		return new Teacher();
	}

}
